package com.controller.yxy;
import com.service.yxyService.GetDataService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.annotation.Resource;

/**
 * 收费管理→4收银结算（仅小区物业管理人员可用）
 */
@Controller
@RequestMapping("/YXYpage/")
public class CashierSettlementController {
    @Resource
    private GetDataService  getDataService;
    /**4
     * 结算
     * @param
     * @return
     */
    @RequestMapping(value = "jieshuan",method = RequestMethod.POST)
    @ResponseBody
    public Object jieshuan(String did){
        return getDataService.jieshuan(did);
    }


    @RequestMapping(value = "chaxunfout",method = RequestMethod.POST)
    @ResponseBody
    public Object chaxunfout(String fangshi,String text){
        return getDataService.chaxunfout(fangshi,text);
    }

}
